﻿#include "mainwindow.h"

#include <QApplication>

#pragma execution_character_set("utf-8")
int main(int argc, char *argv[])
{
#if (QT_VERSION > QT_VERSION_CHECK(5,6,0))
    QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
    QApplication a(argc, argv);
    QSurfaceFormat format;
    format.setRenderableType(QSurfaceFormat::OpenGL);
    QSurfaceFormat::setDefaultFormat(format);
    MainWindow w;
    // 设置窗口图标
    
    a.setWindowIcon(QIcon(":/image/1.png"));

    w.setWindowTitle("鲸目TI雷达综合采集设备v1.00");
    w.show();
    return a.exec();
}
